package com.eastcom.common.db;

import java.sql.SQLException;

/**
 * @author Dongping Mao
 */

public abstract class AbstractTransaction {

	public abstract void begin()throws Exception;
	
	public abstract void rollback();
	
	public abstract void close() throws SQLException;
	
	public abstract void commit() throws SQLException;
	
	public abstract boolean isActive();
}
